<template>
  <div>
    <div v-if="pageLoading">
      <el-main>
        <el-card shadow="never">
          <el-skeleton :rows="1"></el-skeleton>
        </el-card>
        <el-card shadow="never" style="margin-top: 15px">
          <el-skeleton></el-skeleton>
        </el-card>
      </el-main>
    </div>
    <work @on-mounted="onMounted"></work>
  </div>
</template>

<script setup>
import work from "./work/index.vue";

const pageLoading = ref(true);

const onMounted = () => {
  pageLoading.value = false;
};
</script>
